package com.duixiang.lei.shangpin;

public class TestGoods {
    public static void main(String[] args) {

        Goods goods = new Goods();

        goods.setGoodsname("运动鞋");
        goods.setGoodsID(10);
        System.out.println("这件商品是:" + goods.getGoodsname());
        System.out.println("这件商品的编号是:" + goods.getGoodsID());
        goods.price(999);
        goods.size(42+"码");
        System.out.println("--------");
        Goods goods1 = new Goods();

        goods.setGoodsname("西装一套");
        goods.setGoodsID(6);

        System.out.println("这件商品是:" + goods.getGoodsname());
        System.out.println("这件商品的编号是:" + goods.getGoodsID());
        goods.price(2999);
        goods.size(175+"cm");



    }
}
